package com.zidongxiangxi.rabbit.producer.config;

/**
 * 发送端重发配置
 *
 * @author chenxudong
 * @date 2020/11/07
 */
public class ProducerResendConfig {
	/**
	 * 应用名
	 */
	private String application;

	/**
	 * 每次重发的数量
	 */
	private int batchSize = 20;

	/**
	 * 执行重发任务的周期，单位毫秒，默认2000
	 */
	private long workPeriod = 2000;

	public String getApplication() {
		return application;
	}

	public void setApplication(String application) {
		this.application = application;
	}

	public int getBatchSize() {
		return batchSize;
	}

	public void setBatchSize(int batchSize) {
		this.batchSize = batchSize;
	}

	public long getWorkPeriod() {
		return workPeriod;
	}

	public void setWorkPeriod(long workPeriod) {
		this.workPeriod = workPeriod;
	}
}
